package com.tarena.lbs.user.pojo.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
public class BasePageQuery implements Serializable {

    @Schema(description = "页码", example = "1")
    private Integer pageNo = 1; // 默认第一页

    @Schema(description = "每页条数", example = "10")
    private Integer pageSize = 10; // 默认每页10条
}
